import scrapy


class BritishmuseumPachongSpider(scrapy.Spider):
    # name = "britishmuseum_pachong"
    # allowed_domains = ["www.britishmuseum.org"]
    # start_urls = ["https://www.britishmuseum.org/collection/search?keyword=Chinese"]
    name = 'britishmuseum_pachong'
    allowed_domains = ['www.baidu.com']
    start_urls = ['https://www.baidu.com/']

    def parse(self, response):
        for h1 in response.css('s_btn_wr'):
            yield {
                'title': h1.get_text()
            }
        pass
